# -*- mode: snippet -*-
# name: delete
# key: dl
# --
if( NULL != ${1:pointer} )
{
    delete $1;
    $1 = NULL;
}